package com.mf.entity.req.search;

import com.mf.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
    import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 *  工单之间的关联关系查询条件
 * @date 2025-04-21 09:19:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqWorkRelation extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

                                        @Schema(description = "工单类型 1-来料单；2-分拣单；3-撕碎单；4-粉碎单")
                        private String workType;
                            @Schema(description = "工单id")
                        private Integer workId;
                            @Schema(description = "工单标识")
                        private String workFlag;
                            @Schema(description = "关联类型 1-来料单；2-分拣单；3-撕碎单；4-粉碎单")
                        private String relevancyType;
                            @Schema(description = "关联id")
                        private Integer relevancyId;
                            @Schema(description = "关联标识")
                        private String relevancyFlag;
                            @Schema(description = "当前工单是否已完成排程；0-未完成；1-已完成")
                        private Integer status;
                                                    }
